package com.my.ds;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.lang.Dict;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author: marshal
 * @date: 2021-08-25 2:18 PM
 */
public class DictTest {
    public static void main(String[] args) {
        Dict set = Dict.create().set("name", "Jack").set("age", 20).set("date", DateTime.now());
        System.out.println(set);

        var map = new ConcurrentHashMap<Integer, String>(1);
        System.out.println(CollUtil.isEmpty(map));
    }
}
